<#macro header>
<#assign basePath=attrs.contextPath>
	<tbody>
		<div class="l_wrapper">
			<div id="l_nav" class="l_nav">
				<span>
					<a href="${basePath}/vanOverview" id="logo" style="margin-left:25px;"><img style="margin-top:6px;" alt="Video Answers" src="${basePath}/static/images/logo.png"></a>
            	</span>
			</div>
			<#if hasLogined?exists && hasLogined == true>
				<div>
					<label style="float:left; position:relative; margin-left:100px; margin-top:85px; font-size:18px; color:#000000;">管理员， ${username!} !</label>
				</div>
			</#if>
		</div>
		
		<#if hasMianNav?exists && hasMianNav == false>
			<div></div>
		<#else>
			<div class="m_nav row-fluid" id="m_nav" style="width:990px;">
			    <div class="navbar">
				    <div>
					    <ul id="nav" class="nav" style="margin-top:-17px;">
						    <li name="vanOverview"><a style="font-weight: bold; padding: 10px 0 11px; margin-left: 15px;" href=${basePath}/vanOverview>首页</a></li>
						    <li name="realTimeAnswer"><a style=" font-weight:bold; padding: 10px 0 11px;" href=${basePath}/realTimeAnswer>实时回答</a></li>
						    <li name="videoAnswer"><a style=" font-weight:bold; padding: 10px 0 11px;" href=${basePath}/videoAnswer>视频答案</a></li>
						    <li name="videoLive"><a style=" font-weight:bold; padding: 10px 0 11px;" href=${basePath}/videoLive>课程直播</a></li>
						    <li name="parentCenter"><a style=" font-weight:bold; padding: 10px 0 11px;" href=${basePath}/parentCenter>家长中心</a></li>
					    </ul>
				    </div>
			    </div>
			</div>
		</#if>
		
	</tbody>
</#macro>